<?php

namespace Theatre\Client;

class Root extends \Theatre\Controller {
	/**
	 * Homepage
	 */
	function index() {
		$loggedInUser = $this->getLoggedInUser();

		if ($loggedInUser) {
			$this->redirect('/booking');
		}
		else {
			$this->redirect('/user/login');
		}
	}
}
